package com.cn.mapper.dao.db5.PartsManagement;

import com.cn.bean.pojo.yw.BusinessMatterClassificationTable;
import com.cn.bean.pojo.yw.ExpenseItemInfoTable;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BusinessMatterClassificationDao {
    List<BusinessMatterClassificationTable> selectBusinessMatterAside();
    List<BusinessMatterClassificationTable>selectBusinessMatter(BusinessMatterClassificationTable businessMatterClassificationTable);
    Integer getBusinessMatterAutoid();
    int addBusinessMatter(@Param("ID") int ID, @Param("code") String code, @Param("name") String name, @Param("description") String description, @Param("status") int status, @Param("level") int level, @Param("parentID") int parentID, @Param("isLeaf") int isLeaf);
    int delBusinessMatter(@Param("id") int id);
    int delBusinessMatterStatus(@Param("id") int id);
    int updateBusinessMatter(@Param("id") int id, @Param("code") String code, @Param("name") String name, @Param("description") String description, @Param("status") int status, @Param("level") int level, @Param("parentID") int parentID, @Param("isLeaf") int isLeaf);
}
